package com.xms.form.core.component;

import com.xms.form.core.FormType;

import java.io.Serializable;
import java.util.List;
import java.util.UUID;

/**
 * <p>
 * FormDescriptor
 * </p>
 *
 * @author migo
 * @since 2021/9/3
 */
public class FormDescriptor implements Serializable {
    public static final int DefaultFormType = FormType.Main;

    public String Name;
    public String Description;

    public boolean IsShowNav;

    public SectionDescriptor Header;
    public SectionDescriptor Footer;

    public List<NavGroupDescriptor> NavGroups;
    public List<PanelDescriptor> Panels;
    //public List<SectionDescriptor> Sections;

    public List<Event> Events;

    public List<String> ClientResources;
    public List<UUID> FormRules;
    public String CustomCss;
}
